Smush\App\Admin C

Total Complexity 108
Dependencies 21
Dependents 4
Total lines 812
Lines of code 547
Logical lines of code 242
Comment lines 147
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
add_menu_pages()
B
44 18 37
enqueue_scripts()
A
44 12 43
dashboard_link()
A
46 10 35
show_plugin_conflict_notice()
A
46 7 44
show_background_unavailability_notice()
S
47 6 40
check_for_conflicts_cron()
S
48 6 35
add_plugin_meta_links()
S
49 6 29
media_library_membership_notice()
S
52 6 26
maybe_show_local_webp_convert_original_images_notice()
S
53 6 22
show_parallel_unavailability_notice()
S
49 5 37
print_pending_bulk_smush_content()
S
49 5 35
generate_bulk_limit_message_for_free()
S
53 3 24
add_policy()
S
53 3 24
__construct()
S
52 2 24
builtin_wpmudev_branding()
S
57 2 20
get_global_stats_with_bulk_smush_content()
S
56 2 20
get_global_stats_with_bulk_smush_content_and_notice()
S
57 2 17
register_scripts()
S
60 2 12
load_deactivation_survey_modal()
S
66 2 9
is_notice_dismissed()
S
74 1 4
smush_i18n()
S
70 1 7
get_plugin_discount()
S
80 1 3